package com.clement.decorator;

/**
 * Created by Clement on 2017/3/28.
 */
public class TeaBottleDecorator extends Decorator{

    public TeaBottleDecorator(BasicBottle bottleBasicFunction) {
        super(bottleBasicFunction);
    }

    private void addRuler() {
        System.out.println("add ruler");
    }


    @Override
    String fillMaterial() {
        this.addRuler();
        return super.fillMaterial();
    }
}
